using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Head : MonoBehaviour
{
    private void OnTriggerEnter2D(Collider2D other)
    {
        Debug.Log("碰到了");
        GameObject.Find("GameManager").GetComponent<GameManager>().GameStateIsGameOver = true;
    }
}